package com.example.demos.dao;

import com.example.demos.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;


@Mapper
public interface UserDao{
//    @Select("select id,name,time from user where id=${stuId}")
//    User selectById(@Param("stuId") Integer id);



    @Select("select * from fa_user where mobile=${stuMobile}")
    User selectByMobile(@Param("stuMobile") String mobile);

}